<!DOCTYPE html>
<html>
<head>
  <title>IndSvr Download</title>
  <meta charset="UTF-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <link rel="stylesheet" href="../foxui/css/foxui.min.css"/>
  <script src="../js/adaptive_environment.js"></script>
  <script src="../js/superagent.js"></script>
</head>
<body style="min-width: 500px;width:100%;padding: 4%;background: #ffffff">
<div class="foxui-tabs-pane">
  <div>
    <h1 style="width: 50%"><button class="foxui-solid-primary foxui-size-mini" id="back" style="position: absolute;right: 2%;">返回</button>新建下载</h1>

  </div>

  <h6>下载地址：</h6>
  <div class="foxui-textarea">
    <textarea autocomplete="off" rows="10"  placeholder="下载链接 " id="downloadUrl"></textarea>
  </div>
  <h6>下载路径：</h6>
  <div class="foxui-input-prepend foxui-input-append">
    <div class="foxui-prepend-inner foxui-input-button foxui-plain">
      <i class="foxui-icon-mulu-f foxui-suffix-icon "></i>
    </div>
    <input placeholder="下载路径" disabled="disabled" required value="" id="downloadPath"/>
    <div class="foxui-append-inner foxui-input-button foxui-solid" id="selectPath">选择</div>
  </div>
  <button class="foxui-solid-primary" style="margin-top: 10%;width: 100%" id="download">下载</button>
</div>


<!--路径选择器-->
<div id="selectPathView" style="position: absolute;left: 0;top:0;height: 100%;width: 100%;background: #7777779e;display: none;" >
<!--  <div class="foxui-border-1 foxui-border foxui-border-light foxui-radius-xs" style="position: absolute;left: 50%;top:50%;background: #ffffff;width: 90%;margin-left:-45%; margin-top:-45%;padding: 4%;" >-->
  <div class="foxui-border-1 foxui-border foxui-border-light foxui-radius-xs" style="background: #ffffff;width: 80%;height: 80%;margin:10%; padding: 4%;" >

    <h2>路径选择</h2>

    <div class="foxui-border-1 foxui-border foxui-border-light foxui-radius-xs" style="margin-top: 2%">

      <div class="foxui-input-prepend foxui-input-append">
        <input placeholder="路径" disabled="disabled" value="" id="selectPathViewPath"/>
      </div>

      <div style="overflow-y:scroll;height: 300px;">
        <ul class="foxui-menu foxui-type-vertical" id="selectPathViewList">
<!--          <li class="foxui-menu-item" onclick="addPath('a')">-->
<!--            <i class="foxui-menu-submenu-icon foxui-icon-mulu-f"></i>-->
<!--            <span>导航三</span>-->
<!--          </li>-->


        </ul>
      </div>

    </div>


    <div class="foxui-button-group" style="margin-top: 4%">
      <button class="foxui-solid-primary foxui-size-small foxui-shape-round" style="width: 30%;" id="selectPathViewBack"><i class="foxui-icon-fanhui-o" ></i>回退</button>
      <button class="foxui-solid-primary foxui-size-small foxui-shape-round" style="width: 40%;" id="selectPathViewNew"><i class="foxui-icon-jiahao-o" ></i>新建文件夹</button>
      <button class="foxui-solid-primary foxui-size-small foxui-shape-round" style="width: 30%;" id="selectPathViewOk"><i class="foxui-icon-dagou-o"></i>确定</button>
    </div>

  </div>

</div>

</body>
<script src="../foxui/js/jquery-3.6.0.min.js"></script>
<script src="../foxui/js/foxui-1.49.min.js"></script>
<script src="../js/add_download.js"></script>

</html>
